package com.software.loginregister.entity;

import com.software.loginregister.entity.vo.FoodRecognitionDTO;

import java.util.List;

import lombok.Data;

@Data
public class ChatResponse {
    private String status;
    private String errorMessage;
    private String rawAnswer;  // 原始回答
    private List<FoodRecognitionDTO> foods;  // 解析后的食材列表

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getRawAnswer() {
        return rawAnswer;
    }

    public void setRawAnswer(String rawAnswer) {
        this.rawAnswer = rawAnswer;
    }

    public List<FoodRecognitionDTO> getFoods() {
        return foods;
    }

    public void setFoods(List<FoodRecognitionDTO> foods) {
        this.foods = foods;
    }
}
